package com.hushao.lims.weblims.service;

import com.hushao.lims.weblims.domain.TimetableInfo;
import org.apache.poi.ss.usermodel.Sheet;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author 930588706
 * @date 18/2/3
 */
public interface TimetableService {
    /**
     * 根据教师名称，日期模糊查询课程
     * @param teacherName
     * @param year
     * @param term
     * @param pageable
     * @return
     */
    Page<TimetableInfo> listClassByTeacherNameAndTerm(String teacherName, String year, String term, Pageable pageable);

    /**
     * 导入课程信息
     * @param sheet
     * @param termStartTime
     * @throws Exception
     */
    void uploadFile(Sheet sheet, String termStartTime)throws Exception;
}
